home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cnews007.zip / NEWSFILE.ZIP / CLSTEST.C < prev   
Text File  |  1988-05-04  |  326b  |  14 lines

  1. #include    <stdio.h>
  2. #include    <dos.h>
  3.  
  4. void extern fast_cls();      /* declare function to be external to the main
  5.                 program file */
  6.  
  7. main()
  8. {
  9.     register int loop;
  10.     for (loop=0; loop<2000; loop++)  /* fill screen with asterisks */
  11.        printf("*");
  12.     sleep(1);                        /* wait a sec */
  13.     fast_cls();
  14. }